package com.gzhryc.net_marketing.cloud.logistics;

import java.util.Date;
import java.util.List;

public class LogisticsInfo {

    private String logisticsTradeNo; //运单编号
    private Integer logisticsState;   //物流状态
    private Date lastUpdateDate;     //最新快递物流轨迹的时间,yyyy-MM-dd HH:mm:ss
    private String useTimeStr;       //发货到收货耗时(截止最新轨迹)

    private List<TimeItem> timeItems;

    public String getLogisticsTradeNo() {
        return logisticsTradeNo;
    }

    public void setLogisticsTradeNo(String logisticsTradeNo) {
        this.logisticsTradeNo = logisticsTradeNo;
    }

    public Integer getLogisticsState() {
        return logisticsState;
    }

    public void setLogisticsState(Integer logisticsState) {
        this.logisticsState = logisticsState;
    }

    public Date getLastUpdateDate() {
        return lastUpdateDate;
    }

    public void setLastUpdateDate(Date lastUpdateDate) {
        this.lastUpdateDate = lastUpdateDate;
    }

    public String getUseTimeStr() {
        return useTimeStr;
    }

    public void setUseTimeStr(String useTimeStr) {
        this.useTimeStr = useTimeStr;
    }

    public List<TimeItem> getTimeItems() {
        return timeItems;
    }

    public void setTimeItems(List<TimeItem> timeItems) {
        this.timeItems = timeItems;
    }

    public static class TimeItem {

        private Date time;
        private String content;

        public Date getTime() {
            return time;
        }

        public void setTime(Date time) {
            this.time = time;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }
    }
}
